package mapstruct.mapper;

import mapstruct.dto.GolfPlayer;
import mapstruct.dto.GolfPlayerDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface GolfPlayerMapper {

    GolfPlayerMapper INSTANCE = Mappers.getMapper(GolfPlayerMapper.class);

    GolfPlayerDto toDto(GolfPlayer player);

    GolfPlayer toPlayer(GolfPlayerDto player);

}